using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using THSLib;
using THSERP.BaseProvider;

namespace THSERP.Modules.Handover.UI
{
	/// <summary>
	/// Summary description for DMHO100
	/// </summary>
	public partial class DMHO100 : THSERPScreen
	{

		public DMHO100()
		{
			//
			// Required designer variable
			//
			InitializeComponent();
		}

        private void fld_txtBRHandoverReceiveFeeAmount_Validated(object sender, EventArgs e)
        {
            ((HandoverModule)this.Module).FeeValidate();
        }

        private void fld_txtBRHandoverPaymentFeeAmount_Validated(object sender, EventArgs e)
        {
            ((HandoverModule)this.Module).FeeValidate();
        }

        private void fld_btnButton1_Click(object sender, EventArgs e)
        {
            ((HandoverModule)this.Module).CalculateHandover();
        }

        private void fld_lkeFK_HRShiftInID_CloseUp(object sender, DevExpress.XtraEditors.Controls.CloseUpEventArgs e)
        {
            ((HandoverModule)this.Module).ShiftIn_Validated(sender,e);
        }

        private void fld_lkeFK_HREmployeeInID_CloseUp(object sender, DevExpress.XtraEditors.Controls.CloseUpEventArgs e)
        {
            ((HandoverModule)this.Module).EmployeeIn_Validated(sender, e);
        }
	}
}
